<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@taglib prefix="sj" tagdir="/WEB-INF/tags/spring-jquery-tags"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<link type="text/css" rel="stylesheet" href="/cmrs/css/cipe-ver2.css">
<link type="text/css" rel="stylesheet" href="/cmrs/css/ui/ui.tables.css">
<br/>
<div id="donorAward" class="hastable" style="overflow: auto">
				<table class="tablesorter">
				<c:choose>
				   <c:when test="${!empty impList}">	
					<thead>
					<c:if test="${true}">
									<tr>
									<th align="center" colspan="4"><font size="4"><c:out value="${message}"></c:out></font></th>
									</tr>
					</c:if>
					
						<tr>
						    <!--<th><spring:message code="common.select.all"/>&#10;<input type="checkbox" id="check-all"></th>
							--><th><spring:message code="implist.table.heading.impication" /></th>
							<th><spring:message code="implist.table.heading.impduedate" /></th>
							<th><spring:message code="implist.table.heading.impreceived" /></th>
							<th><spring:message code="implist.table.heading.impclosedtofile" /></th>
							<!-- 
							<th><spring:message code="donorawardlist.table.heading.city" /></th>
							<th><spring:message code="donorawardlist.table.heading.state" /></th>
							<th><spring:message code="donorawardlist.table.heading.edit" /></th>
							 -->
						</tr>
					</thead>
					<tbody id="donorgrid">
						 <c:forEach items="${impList}" var="imp">
							<tr>
								<td>${imp.impication}</td>
								<td><fmt:formatDate pattern="MM-dd-yyyy" value="${imp.impduedate}" /></td>
								<td><fmt:formatDate pattern="MM-dd-yyyy" value="${imp.impreceived}" /></td>
								<td><fmt:formatDate pattern="MM-dd-yyyy" value="${imp.impclosedtofile}" /></td>
								<!-- 
								<td>${donoraward.city}</td>
								<td>${donoraward.state}</td>
								 -->
								<%-- <td><a href="javascript://" class="edit-donoraward-link" donorawardId="${donoraward.id}"><spring:message code="donorawardlist.table.link.edit" /></a></td> --%>
							</tr>
							</c:forEach><!--
							    <tr align="center"><td align="left" colspan="12"><input type="button" class="blue_btn" name="view" value="View Selected Donor Awards" align="center"></td></tr>
							--></c:when>
							<c:otherwise>
								<c:if test="${ empty impList}">					  
										   <tr><td colspan="5"> Your query has returned 0 records </td></tr>
										 </c:if>  
								</c:otherwise>
						 </c:choose>
					</tbody>
				</table>
				</div>